<div class="sidemenu {if $category_id > 0 || $is_category}curr{/if}">
  <div class="first"><a href="javascript:void(0);" class="js_sltCategoryGroup" id-data="" is-data="{if $is_category}{$is_category}{/if}">新品上架</a></div>
  <ul class="level1 js_categoryUl">
    {foreach $list as $k=>$v}
    <li class="js_sltCategory {if $category_id == $v.id}curr{/if}" id-data="{$v.id}">
      <a href="javascript:void(0);"><em></em>{$v.title}</a>
      {if $v.children}
      <ul class="level2 js_categoryUlChild">
        {foreach $v.children as $key=>$value}
        <li class="js_sltCategory {if $category_id == $value.id}curr{/if}" id-data="{$value.id}"><a href="javascript:void(0);">{$value.title}</a></li>
        {/foreach}
      </ul>
      {/if}
    </li>
    {/foreach}
  </ul>
</div>